﻿<td class="width50px">
    <span data-bind="text: Id, visible: Id"></span>
    <span data-bind="visible: !Id()" style="color:blue">NEW</span>
</td>
<td class="width200px">
    <span data-bind="text: Sponsor"></span>
</td>
<td class="width200px">
    <span data-bind="text: Protocol"></span>
</td>
<td class="width50px">
    <input type="checkbox" data-bind="enable: false, checked:IsActive" />
</td>
<td class="width250px">
    <button data-bind="click: $parent.EditStudy, enable: !$parent.ActiveStudy()">Edit Study</button>
    &nbsp;&nbsp;
    <a data-bind="attr:{href:'/Sections/?studyId=' + Id()}, text:'Manage Sections', visible:Id() != null"></a>
</td>